﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace USBControlLib.Settings
{
    public class USBControlSetting
    {
        /// <summary>
        /// 0-Simulator	
        /// 1-Net	
        /// 2-SerialPort
        /// </summary>
        public int CommunicationMode { get; set; } = 2;
        /// <summary>
        /// 控制板网络IP
        /// </summary>
        public string IP { get; set; } = "192.168.200.11";
        /// <summary>
        /// ;控制板串口通讯端口
        /// </summary>
        public int SerialPortNum { get; set; } = 8;
        /// <summary>
        /// 端口号
        /// </summary>
        public int SimulatorPort { get; set; } = 9101;
        public int LogEn { get; set; } = 1;
        public int LogMode { get; set; } = 1;
        public int Addr { get; set; } = 1;
        public USBControlSetting() 
        {

        }
    }
}
